package com.ruoyi.Students.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.DegreePoints.domain.BaseNameEntry;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生信息对象 students
 * 
 * @author ruoyi
 * @date 2025-04-19
 */
public class Students extends BaseNameEntry
{
    private static final long serialVersionUID = 1L;

    /** 学生ID */
    private Long studentId;

    /** 所属学位点 */
    private Long pointId;

    /** 学号 */
    @Excel(name = "学号")
    private String studentNumber;

    /** 姓名 */
    @Excel(name = "姓名")
    private String studentName;

    /** 入学年份 */
    @Excel(name = "入学年份")
    private Long enrollmentYear;

    /** 专业 */
    @Excel(name = "专业")
    private String major;

    /** 研究方向 */
    @Excel(name = "研究方向")
    private String researchDirection;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 导师ID */
    @Excel(name = "导师ID")
    private Long tutorId;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

    public void setStudentId(Long studentId) 
    {
        this.studentId = studentId;
    }

    public Long getStudentId() 
    {
        return studentId;
    }

    public void setPointId(Long pointId) 
    {
        this.pointId = pointId;
    }

    public Long getPointId() 
    {
        return pointId;
    }

    public void setStudentNumber(String studentNumber) 
    {
        this.studentNumber = studentNumber;
    }

    public String getStudentNumber() 
    {
        return studentNumber;
    }

    public void setStudentName(String studentName) 
    {
        this.studentName = studentName;
    }

    public String getStudentName() 
    {
        return studentName;
    }

    public void setEnrollmentYear(Long enrollmentYear)
    {
        this.enrollmentYear = enrollmentYear;
    }

    public Long getEnrollmentYear()
    {
        return enrollmentYear;
    }

    public void setMajor(String major) 
    {
        this.major = major;
    }

    public String getMajor() 
    {
        return major;
    }

    public void setResearchDirection(String researchDirection) 
    {
        this.researchDirection = researchDirection;
    }

    public String getResearchDirection() 
    {
        return researchDirection;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setTutorId(Long tutorId) 
    {
        this.tutorId = tutorId;
    }

    public Long getTutorId() 
    {
        return tutorId;
    }

    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }

    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("studentId", getStudentId())
            .append("pointId", getPointId())
            .append("studentNumber", getStudentNumber())
            .append("studentName", getStudentName())
            .append("enrollmentYear", getEnrollmentYear())
            .append("major", getMajor())
            .append("researchDirection", getResearchDirection())
            .append("status", getStatus())
            .append("tutorId", getTutorId())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .toString();
    }
}
